package com.stox.services.data.downloader.repository;

import com.stox.services.data.downloader.model.ExchangeDownloadMetadata;
import com.stox.services.data.downloader.repository.file.ExchangeDownloadMetadataFileRepository;

public interface ExchangeDownloadMetadataRepository {
	
	ExchangeDownloadMetadataRepository INSTANCE = ExchangeDownloadMetadataFileRepository.INSTANCE;

	public ExchangeDownloadMetadata findOne(Long exchangeId);
	
	public void saveAndFlush(ExchangeDownloadMetadata exchangeDownloadMetadata);
	
}
